package com.uaf.vxalipaybill.provider.utils;

/**
 * @filename ConstantParamUtils.java
 * @description 微信支付宝账单常量类
 * @author 马庆智
 * @date 2021/9/15 11:06
 */
public class VxAlipayBillConstantUtils {

	/**imap协议*/
	public static final String IMAP_PROTOCOL = "imap";

	/**pop3协议*/
	public static final String POP3_PROTOCOL = "pop3";

	/**授权初始状态*/
	public static final String STATUS_BEGIN = "0";

	/**授权成功*/
	public static final String STATUS_SUCCESS = "1";

	/**授权中*/
	public static final String STATUS_ING = "2";

	/**授权失败*/
	public static final String STATUS_FAIL = "3";

	/**授权本地缓存*/
	public static final String STATUS_LOCAL = "4";

	/**nlp*/
	public static final String PDF_FILE_SOURCE_SYSTEM = "nlp";

	/**Redisson锁失效时间(单位：秒),不能大于30s*/
	public static final long REDIS_LOCK_EXPIRE = 25L;

	/**监听邮件放款Redis key*/
	public static final String LISTENE_EMIAL_REDIS_KEY = "ppd:username:download-email:";

	/** 业务号 */
	public static final String PDF_FILE_PRO_ID = "28";
	/** 编码集 */
	public static final String PDF_FILE_INFO_NUM = "1";
	/** UserID */
	public static final String PDF_FILE_USER_ID = "admin";
	/** 系统来源 */
	public static final String PDF_FILE_SOURCE = "uaf-vxalipaybill-provider";

	/**账单来源-微信*/
	public static final String VX_ALIPAY_SOURCE_VX = "VX";

	/**账单来源-支付宝*/
	public static final String VX_ALIPAY_SOURCE_ALIPAY = "ALIPAY";

	/**返回码*/
	public final static String RESPONSE_MAP_RESULTCODE = "resultCode";

	/**返回信息*/
	public final static String RESPONSE_MAP_RESULTINFO = "resultInfo";

	/**返回时间*/
	public final static String RESPONSE_MAP_TIMESTAMP = "timestamp";

	/**返回数据*/
	public final static String RESPONSE_MAP_DATA = "data";

	/**操作成功返回编码*/
	public static String SUCCESS_CODE = "000000";

	/**操作成功返回信息*/
	public static String SUCCESS_MSG = "交易成功";

	/**操作失败返回编码*/
	public static String FAIL_CODE = "111111";

	/**操作失败返回信息*/
	public static String FAIL_MSG = "系统异常";

	/**微信支付宝账单 更新锁*/
	public static String VX_ALIPAY_BILL_UPDATE_LOCK = "VX_ALIPAY_BILL:";

	public static String BILL_REDIS_PREFIX = "vxalipaybill:";

}
